package com.shop.shoporder.mapper;

import com.shop.shoporder.entity.ShortUrl;
import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface ShortUrlMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(ShortUrl record);

    int insertSelective(ShortUrl record);

    ShortUrl selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(ShortUrl record);

    int updateByPrimaryKey(ShortUrl record);

    ShortUrl selectByKey(String shortKey);
}